// * 全局组件
// import PageTools from './PageTools/index.vue'
// import UploadExcel from './UploadExcel'

/*
! 原写法
* import Vue from 'vue'
* Vue.component('PageTools', PageTools)
* Vue.component('UploadExcel', UploadExcel)
 */

/*
!  install 写法
*/
export default {
  install(Vue) {
    Vue.component('PageTools', () => import('./PageTools/index.vue'))
    Vue.component('UploadExcel', () => import('./UploadExcel/index.vue'))
    Vue.component('MyAvatarUpload', () => import('./MyAvatarUpload/index.vue'))
  }
}
